package hcn.cmc.bean.response;

import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class TreatmentItemTypeXmlResp {
    private MsgHeaderRequest MsgHeader;
    private TreatmentItemTypeXmlResp.MsgBody MsgBody;


    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    public TreatmentItemTypeXmlResp.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(TreatmentItemTypeXmlResp.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private TreatmentItemTypeXmlResp.MsgBody.Data Data;

        public MsgBody() { }

        public String getStatus() {
            return this.Status;
        }

        public void setStatus(String status) {
            this.Status = status;
        }

        public String getCode() {
            return this.Code;
        }

        public void setCode(String code) {
            this.Code = code;
        }

        public String getDetail() {
            return this.Detail;
        }

        public void setDetail(String detail) {
            this.Detail = detail;
        }

        public TreatmentItemTypeXmlResp.MsgBody.Data getData() {
            return this.Data;
        }

        public void setData(TreatmentItemTypeXmlResp.MsgBody.Data data) {
            this.Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{
            public TreatmentItemTypeLists TreatmentItemTypeLists;

            public TreatmentItemTypeLists getTreatmentItemTypeLists() {
                return TreatmentItemTypeLists;
            }

            public void setTreatmentItemTypeLists(TreatmentItemTypeLists treatmentItemTypeLists) {
                TreatmentItemTypeLists = treatmentItemTypeLists;
            }

            @XmlRootElement(name = "TreatmentItemTypeLists")
            @XmlAccessorType(XmlAccessType.FIELD)
            public static class TreatmentItemTypeLists{
                private List<TreatmentItemTypeList> TreatmentItemTypeList;

                public List<TreatmentItemTypeList> getTreatmentItemTypeList() {
                    return TreatmentItemTypeList;
                }

                public void setTreatmentItemTypeList(List<TreatmentItemTypeList> treatmentItemTypeList) {
                    TreatmentItemTypeList = treatmentItemTypeList;
                }
            }


        }

    }
}

